#ifndef HTF_URL_PARSER_H
#define HTF_URL_PARSER_H

#include <stdint.h>
#include <stddef.h>

typedef struct htf_model_config {
    char base_path[512];
    uint8_t key[32];          // AES-256 key
    size_t key_len;
    int backend_type;         // 0 = mindspore, 1 = native
    int has_key;
} htf_model_config_t;

int htf_parse_model_url(const char* url, htf_model_config_t* out);

#endif